package com.title1;

import java.io.*;
import java.util.Scanner;

/**
 * @Author milian
 * @Date 2021/8/4 0004 19:16
 */
public class title1 {
    public static void main(String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        BufferedWriter bw = new BufferedWriter(new FileWriter("H:\\homework\\day13\\src\\com\\title1\\Info.txt"));
        while (true){
            System.out.println("请输入：");
            String s = sc.nextLine();
            if (s.equals("886")){
                break;
            }
            bw.write(s);
            bw.newLine();
        }
        bw.close();
    }
}
